Project/
├── modules_example/         --- 剛剛放greeting modules的地方
│    ├──go.mod
│    └──greeting.go
└── call_module/             --- 新創資料夾 要拿來放main package
     ├──go.mod
     └──main.go
package main
import (
	"fmt"
	"modules_example/greeting"
)
func main() {
	// 將參數傳入並輸出
	message := greeting.Greet("iron man")
	fmt.Println(message)
}
go mod init喔!!# 先 init 一下
go mod init call_module/main
# 讓go tool從local directory找 而不是原生的go路徑
go mod edit -replace modules_example/greeting=../modules_example
跑完指令go.mod會出現類似下面圖的一行
然後我們要讓這個 dependency 載入
# 讓local module載入
go mod tidy
 
go run .的指令吧 
接下來要講到的是有關錯誤處理的部分 很重要喔